# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class RateItem(scrapy.Item):
    """
        费率对象
    """
    fund_name = scrapy.Field()  # 基金名
    fund_code = scrapy.Field()  # 基金代码
    discount = scrapy.Field()  # 费率
    taxRate = scrapy.Field()  # 原费率


class NavItem(scrapy.Item):
    """
        净值对象
    """
    fund_name = scrapy.Field()  # 基金名
    fund_code = scrapy.Field()  # 基金代码
    date = scrapy.Field()  # 日期
    per_nav = scrapy.Field()  # 单位净值
    per_accum_nav = scrapy.Field()  # 累计净值
